#define _CRT_SECURE_NO_WARNINGS 1
#include"string.h"
using namespace aqc;
using namespace std;
int main()
{
	aqc::string s("aaa");
	s.append("bbb");
	s += "klmfdbm";
	std::cout << s.c_str() << std::endl;

	s.insert(0, 'g');
	s.insert(1, "dsfvsfc");
	std::cout << s.c_str() << std::endl;

	s.erase(5, 10);
	std::cout << s.c_str() << std::endl;
	cout << s.find('g') << " " << s.find("aaa", 2)<<endl;

	aqc::string b;
	b.swap(s);
	aqc::string c = b.substr(10, 5);
	cout << (b < c) << endl;

	cin >> c;
	cout << c;

	return 0;
}